body {
    background-color: black;
    margin: 0;
    padding: 0;
}
h1 {
    font-family: Open Sans;
    font-style: normal;
    font-weight: 800;
    font-size: 375%;
    line-height: 110%;
    text-align: center;
    color: white;
    width: 100%;
    height: fit-content;
    align-self: center;
}
.centralizar-h1 {
    display: flex;
    align-content: center;
    background-image: url(../img/quem-somos-banner.jpg);
    min-height: 543px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-bottom: -2em;
}
#fizeram-parte {
    background: #0F2357;
    border-radius: 100px;
    width: fit-content;
    height: fit-content;
    padding: 2em 5em;
    font-family: Nunito;
    font-style: normal;
    font-weight: bold;
    font-size: 110%;
    line-height: 110%;
    text-align: center;
    color: #FFFFFF;
    margin-left: -2em;
}
#circulo-ao-lado {
    z-index: 3;
    align-self: baseline;
}
#alinhar-formas-centrais {
    display: flex;
}
#superior-cliente {
    display: flex;
    justify-content: space-between;
}
.formas-direita-cliente-alinhamento {
    display: flex;
    justify-content: flex-end;
}
/* .cliente1 {
    background-color: #FF0000;
    width: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-top: 2em;
} */
.imagem-borda img {
    margin: 2em;
}
.imagem-borda h3 {
    background-color: rgba(15, 35, 87, 1);
    margin: 0;
    width: -webkit-fill-available;
    font-family: Nunito;
    font-style: normal;
    font-weight: bold;
    font-size: 90%;
    line-height: 150%;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    padding: 1em;
    margin-top: -47px;
    position: relative;
    display: none;
}

.cliente1 img:hover, 
.cliente2 img:hover, 
.cliente3 img:hover, 
.cliente4 img:hover, 
.cliente5 img:hover,
.cliente6 img:hover,
.cliente7 img:hover,
.cliente8 img:hover {
    margin: 0;
    width: 15.8em!important;
    transition: 300ms;
}
.imagem-borda {
    width: fit-content;
    border: 2px solid #FF0000;
    box-sizing: border-box;
    height: fit-content;
    max-width: 259px;
    max-height: 267px;
}
#lista-clientes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1em;
    width: min-content;
    margin: auto;
}
#inferior-cliente {
    display: flex;
    justify-content: space-between;
}
.formas-direita {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.formas-direita-cliente-alinhamento {
    display: flex;
    justify-content: space-between;
}
.formas-direita-cliente-alinhamento img {
    margin-left: 50px;
    margin-top: 20px;
}
@media only screen and (min-width: 941px) {
    .imagem-borda img {
        width: 12em!important;
    }
    .cliente7 h3 {
        margin-top: -68px;
    }
}
@media only screen and (max-width: 1200px) {
    .imagem-borda img {
        width: 11em!important;
    }
    .imagem-borda h3 {
        margin-top: -50px!important;
    }
    .cliente7 h3 {
        margin-top: -71px!important;
    }
    .cliente1 img:hover, 
    .cliente2 img:hover, 
    .cliente3 img:hover, 
    .cliente4 img:hover, 
    .cliente5 img:hover,
    .cliente6 img:hover,
    .cliente7 img:hover,
    .cliente8 img:hover {
        margin: 0;
        width: 15em!important;
        transition: 300ms;
    }
}
@media only screen and (max-width: 1050px) {
    .imagem-borda img {
        width: 8em!important;
    }
    .imagem-borda h3 {
        margin-top: -50px!important;
    }
    .cliente1 h3, .cliente3 h3, .cliente6 h3, .cliente7 h3 {
        margin-top: -73px!important;
    }
    .cliente1 img:hover, 
    .cliente2 img:hover, 
    .cliente3 img:hover, 
    .cliente4 img:hover, 
    .cliente5 img:hover,
    .cliente6 img:hover,
    .cliente7 img:hover,
    .cliente8 img:hover {
        margin: 0;
        width: 12em!important;
        transition: 300ms;
    }
}
@media only screen and (max-width: 900px) {
    .imagem-borda img {
        margin: 1em;
    }
    .cliente1 img:hover, .cliente2 img:hover, .cliente3 img:hover, .cliente4 img:hover, .cliente5 img:hover, .cliente6 img:hover, .cliente7 img:hover, .cliente8 img:hover {
        margin: 0;
        width: 10em!important;
    }
    .imagem-borda h3 {
        margin-top: -33px!important;
    }
    .cliente7 h3 {
        margin-top: -47px!important;
    }
}
@media only screen and (max-width: 940px) {
    .imagem-borda img {
        width: 8em!important;
    }
    /* .cliente1 img {
        width: 4em;
    } */
    .imagem-borda h3 {
        font-size: 60%;
    }
}
@media only screen and (max-width: 750px) {
    #lista-clientes {
        grid-template-columns: 1fr 1fr 1fr;
    }
    #superior-cliente .formas-direita, #superior-cliente .formas-esquerda, #inferior-cliente .formas-esquerda, #circulo-ao-lado {
        display: none;
    }
    #superior-cliente {
        justify-content: center;
        margin-bottom: 2em;
    }
    #fizeram-parte {
        margin-left: 0;
    }
    #inferior-cliente {
        justify-content: flex-end;
    }
}
@media only screen and (max-width: 550px) {
    .centralizar-h1 {
        margin-top: 3em;
        min-height: unset;
        margin-bottom: 0em;
    }
    #lista-clientes {
        grid-template-columns: 1fr 1fr;
    }
    #fizeram-parte {
        padding: 1em 2em;
        font-size: 174%;
    }
}
@media only screen and (max-width: 420px) {
    #lista-clientes {
        grid-template-columns: 1fr;
    }
    #lista-clientes {
        gap: 1em;
        width: -webkit-fill-available;
        margin: 5%;
    }
    .imagem-borda {
        width: -webkit-fill-available;
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: unset;
    }
    .imagem-borda img {
        align-self: center;
    }
    .imagem-borda h3 {
        margin-top: -25px!important;
    }
}
@media only screen and (max-width: 300px) {
    #fizeram-parte {
        font-size: 134%;
    }
    h1 {
        font-size: 320%;
    }
}